/*
*FileStorage.fx
*
*Created on Mar 27, 2011, 16:32:15 PM
*/

package mythesis.test;
import javafx.io.*;
import java.io.*;
import javafx.stage.*;
import javafx.scene.*;
import javafx.scene.text.*;

var entry = Storage
{
	source: "sample.txt"
}

var resource = entry.resource;
var is = resource.openInputStream();
println(resource);

is.close();

Stage
{
    width  : 300
    height : 300
    scene: Scene
    {
        content:
        [
        	Text
        	{
        	    x: 100
        	    y: 100
        	    content: resource.name
        	}
        ]
    }
}